package cn.wolfcode.wms.service;

import cn.wolfcode.wms.domain.Permission;
import cn.wolfcode.wms.page.PageResult;
import cn.wolfcode.wms.qo.QueryObject;

import java.util.List;

public interface IPermissionService {



    int deleteByPrimaryKey(Long id);

    int insert(Permission record);

    Permission selectByPrimaryKey(Long id);

    List<Permission> selectAll();

    int updateByPrimaryKey(Permission record);

    void saveorupdate(Permission permission);

    void delete(Long id);


    PageResult query(QueryObject qo);

    void load(Long id);
}
